package com.caesar.Exercise;

/**
 * @author caesar
 * @date 2025/7/12
 * @Description:
 * @apiNote
 */
public class Architect extends Desigher{
    private int stock;

    public Architect() {
    }

    public Architect(int Id, String Name, int age, double salary, double bonus, int stock) {
        super(Id, Name, age, salary, bonus);
        this.stock = stock;
    }

    @Override
    public String toString() {
        return "职位：架构师\t" + super.getBasicInfo()+"\t奖金:"+ getBonus()+"\t股票:"+stock;
    }
}
